$OpenBSD: patch-setup_py,v 1.3 2008/01/15 14:07:39 ajacoutot Exp $
--- setup.py.orig	Thu Jun 23 03:48:49 2005
+++ setup.py	Tue Jan 15 14:57:22 2008
@@ -3,10 +3,10 @@ from distutils.core import Extension, setup
 from distutils import sysconfig
 
 # Full paths to imlib2-config and freetype-config, adjust as needed -
-configs = ["/usr/bin/freetype-config", "/usr/bin/imlib2-config"]
+configs = ["!!X11BASE!!/bin/freetype-config", "!!LOCALBASE!!/bin/imlib2-config"]
 
 # Adjust or add any additional include directories here -
-idirs   = ["/usr/X11R6/include"]
+idirs   = ["!!X11BASE!!/include"]
 
 # Add any additional library directories here -
 ldirs   = []
@@ -15,7 +15,7 @@ ldirs   = []
 cargs   = ["-Wall"]
 
 # Full path to libImlib2 shared library
-imlib2  = "/usr/lib/libImlib2.so.1"
+imlib2  = "libImlib2.so"
 
 #------------------------------------------------------------------------------
 # The rest of this script should not need to be modified! 
@@ -117,7 +117,7 @@ setup(name             = "PyPanel",
       description      = "Lightweight panel/taskbar for X11 Window Managers",
       long_description = "See README for more information",
       url              = "http://pypanel.sourceforge.net",
-      data_files       = [(install_dir, files)],
+#      data_files       = [(install_dir, files)],
       scripts          = ["pypanel"],
       ext_modules      = [module]
      )
